package com.cykj.service.impl;

import com.cykj.entity.GoodsEntity;
import com.cykj.mapper.indexMapper;
import com.cykj.service.indexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class indexServiceImIp implements indexService {
    @Autowired
    private indexMapper mapper;

    @Override
    public int selCount() {
        return mapper.selCount();
    }

    @Override
    public List<GoodsEntity> selTblgoods(int page, int recPerPage) {
        return mapper.selTblgoods(page, recPerPage);
    }



}
